/* Amount of memory required by the driver for Rx and TX only. */
#define ADI_UART_MEMORY_SIZE  (ADI_UART_BIDIR_MEMORY_SIZE)

#define UART_DEVICE_NUM 0

/* Handle for the UART device */
ADI_UART_HANDLE handle_UART0;

unsigned char GPIO_MemorySize[ADI_GPIO_MEMORY_SIZE]; //16b
unsigned char XINT_MemorySize[ADI_XINT_MEMORY_SIZE]; //48b
unsigned char I2C0_MemorySize[ADI_I2C_MEMORY_SIZE]; //48b
unsigned char SPI2_MemorySize[ADI_SPI_MEMORY_SIZE]; //48b
unsigned char SPI1_MemorySize[ADI_SPI_MEMORY_SIZE]; //48b
unsigned char SPI0_MemorySize[ADI_SPI_MEMORY_SIZE]; //48b
unsigned char ADC0_MemorySize[ADI_ADC_MEMORY_SIZE]; //48b

ADI_I2C_HANDLE handle_I2C0;
ADI_SPI_HANDLE handle_SPI2;
ADI_SPI_HANDLE handle_SPI1;
ADI_SPI_HANDLE handle_SPI0;
ADI_ADC_HANDLE handle_ADC0;

/* Memory for the driver */
uint8_t UartDeviceMem[ADI_UART_MEMORY_SIZE];
//外部中断回调函数
void callback_XINT0(void	*pCBParam,uint32_t	Event,void	*pArg);
//定时中断回调函数
void callback_TIM0(void	*pCBParam,uint32_t	Event,void	*pArg);

void callback_UART0(void	*pCBParam,uint32_t	Event,void	*pArg);

void callback_ADC0(void	*pCBParam,uint32_t	Event,void	*pArg);
